'use strict';

function collect_max_number(collection) {
  //在这里写入代码
  let arr=collection.reduceRight(function(a,b){
    if(a>b){return a;}else{return b;}
  });
  return arr; 
}

module.exports = collect_max_number;
